﻿
using Oliving.Common.LogHelper;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Oliving.Common.FileUtilities
{
    public static class FileHelper
    {
        public static void DeleteFile(string fName)
        {
            try
            {
                if (!string.IsNullOrEmpty(fName))
                {
                    if (File.Exists(fName))
                    {
                        File.Delete(fName);
                    }
                }
            }
            catch (Exception paye)
            {
                OlivingLogTxt.EdgeLog("File", paye.ToString());
            }
        }

    }
}
